package main;

public class Context {

    public static void main(String[] args) {
        CalcManager calcManager = new CalcManager(CalcFactory.create("+"));
        double result = calcManager.getCalcResult(1, 2);
        System.out.println("result: " + result);
    }
}
